package com.bite.book.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 页面结果对象
 * 加上有参无参注解
 */
@NoArgsConstructor //无参
@AllArgsConstructor //有参
@Data
public class PageResult<T> {
    private List<T> items;
    private int count;

    //将当前页码页返回
    private RequestPage requestPage;
}
